package com.syz.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Student {
    private Integer id;
    private String name;
    private String age;
    private String gender;
    private Banji banji;

    /*public Student() {
        System.out.println("Student.Student");
    }*/

    public void setName(String name) {
        this.name = name;
        System.out.println("Student.setName");
    }
}
